package Basic.day03;

public class OperDemo02 {
    public static void main(String[] args) {
        //关系运算符
        int a = 10;
        int b = 20;
        System.out.println(a > b);//false
        System.out.println(a < b);//true
        System.out.println(a == b);//false
        System.out.println(a >= b);//false
        System.out.println(a <= b);//true
        System.out.println(a != b);//true
        System.out.println("--------------------");
        System.out.println("a % b = " + a % b);
        System.out.println(a % b == 0);
        System.out.println(a++ == 10);//true
        System.out.println(a++ == 10);//false
    }
}
